package com.yeyaomai.dksns.flowis.dao;

import java.util.Date;
import java.util.List;
import java.util.Map;

import com.yeyaomai.dksns.flowis.domain.TrendAnalysisHour;

/**
 * 时段分析按时分析Dao层接口
 * 
 * @author xiaqin date:2012-05-09
 */
public interface TrendAnalysisHourDao {

	void addTrendAnalysisDay(TrendAnalysisHour trendAnalysisHour);

	TrendAnalysisHour getTrendAnalysisHourById(long id);
	
	void delTrendAnalysisHourById(long id);

	List<TrendAnalysisHour> getTrendAnalysisHourByHour(Date fromTrendDay,
			Date toTrendDay);

	TrendAnalysisHour getTrendAnalysisHourByDate(Map<String, String> map);
}
